<?php 

/**
 * Joomla! 1.5 component arts_curriculum
 * @package    arts_curriculum
 * @subpackage
 * @author     Chris Borkowski {@link http://www.guggenheim.org}
 * @author     Created on 31-August-2009
 * @author     Modified on 18-August-2009
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

?>

<?php if ( ($this->params->def('image', -1) != -1) || $this->params->def('show_comp_description', 1) ) : ?>
<div id="ac_intro_main_feature">
<?php echo JHTML::_('content.prepare', $this->intro[0]->main_body); ?>

<?php endif; ?>
</div>

<div id="ac_intro_featured_untis">
<div id="ac_intro_additional"><h4>additional featured resource units</h4></div>

<!-- ac intro table - each array item is banged out indiviually for greater control we could loop -->
<table>
	<tr>
	            <td>
				<div id="ac_intro_feature_box_1" class="ac_intro_feature_box">
                <a href="<?php echo $this->categories[1]->link; ?>" class="ac_intro_cat_link">
                <div id ="ac_intro_feature_image">
				<img src="/images/content/arts_curriculum/derivative1/<?php echo $this->images[1]->crop;?>" class="ac_intro_img"
				alt="<?php echo $this->categories[1]->title;?>" />
        			</div>
        				<div id="ac_intro_cat_title"><?php echo preg_replace('/(:)(.*)/', '',$this->categories[1]->title) ;?></a></div>
        		
        		</div>
                </td>

                <td>
				<div id="ac_intro_feature_box_2" class="ac_intro_feature_box">
                <a href="<?php echo $this->categories[2]->link; ?>" class="ac_intro_cat_link">
                <div id ="ac_intro_feature_image">
				<img src="/images/content/arts_curriculum/derivative1/<?php echo $this->images[2]->crop;?>"  class="ac_intro_img"
				alt="<?php echo $this->categories[2]->title;?>" />
        			</div>
        				<div id="ac_intro_cat_title"><?php echo preg_replace('/(:)(.*)/', '',$this->categories[2]->title);?></a></div>
                </div>
                </td>
	
                <td>
				<div id="ac_intro_feature_box_3" class="ac_intro_feature_box">
                <a href="<?php echo $this->categories[3]->link; ?>" class="ac_intro_cat_link">
                <div id ="ac_intro_feature_image">
				<img src="/images/content/arts_curriculum/derivative1/<?php echo $this->images[3]->crop;?>" " class="ac_intro_img"
				alt="<?php echo $this->categories[3]->title;?>" />
        			</div>
        				<div id="ac_intro_cat_title"><?php echo preg_replace('/(:)(.*)/', '',$this->categories[3]->title);?></a></div>
                </div>
                </td>

    </tr>
	<tr>
                <td>
				<div id="ac_intro_feature_box_4" class="ac_intro_feature_box">
                <a href="<?php echo $this->categories[4]->link; ?>" class="ac_intro_cat_link">
                <div id ="ac_intro_feature_image">
				<img src="/images/content/arts_curriculum/derivative1/<?php echo $this->images[4]->crop;?>" class="ac_intro_img"
				alt="<?php echo $this->categories[4]->title;?>" />
        			</div>
        				<div id="ac_intro_cat_title"><?php echo preg_replace('/(:)(.*)/', '',$this->categories[4]->title);?></a></div>
                </div>
                </td>
   
                <td>
				<div id="ac_intro_feature_box_5" class="ac_intro_feature_box">
                <a href="<?php echo $this->categories[5]->link; ?>" class="ac_intro_cat_link">
                <div id ="ac_intro_feature_image">
				<img src="/images/content/arts_curriculum/derivative1/<?php echo $this->images[5]->crop;?>" "class="ac_intro_img"  
                alt="<?php echo $this->categories[5]->title;?>"/>
                	</div>
                		<div id="ac_intro_cat_title"><?php echo preg_replace('/(:)(.*)/', '',$this->categories[5]->title);?></a></div>
                </div>
                </td>

                <td>
				<div id="ac_intro_feature_box_6" class="ac_intro_feature_box">
                <a href="<?php echo $this->categories[6]->link; ?>" class="ac_intro_cat_link">
                <div id ="ac_intro_feature_image">
				<img src="/images/content/arts_curriculum/derivative1/<?php echo $this->images[6]->crop;?>" " class="ac_intro_img"
				alt="<?php echo $this->categories[6]->title;?>" />
        			</div>
        				<div id="ac_intro_cat_title"><?php echo preg_replace('/(:)(.*)/', '',$this->categories[6]->title);?></a></div>
                </div>
                </td>
        
    </tr>
</table>

<div id="ac_intro_inst">

<p><a href="index.php?option=<? $option; ?>&format=feed"/><img src="images/content/rss_15.jpg" alt="Art Curriculum RSS Feed" border="0" title="Subscribe" style="margin: 0px 3px; text-decoration:none;"/></a><a href="index.php?option=<? $option; ?>&format=feed"/>Art Curriculum RSS Feed</a> 
| <a href="index.php?<? $option;?>&view=sort&search=Exhibitions"class="ac_intro" alt="View all Exhibitions">View all Exhibitions</a> | <a href="index.php?<? $option;?>&view=sort&search=Artists""class="ac_intro" alt="View All Artists">View All Artists</a> 
 </p>
</div>


</div><!-- end the ac intro  page -->
